MailPoet\Automation\Engine\Storage\AutomationStorage S

Total Complexity 50
Dependencies 9
Dependents 26
Total lines 407
Lines of code 315
Logical lines of code 158
Comment lines 37
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
insertAutomationTriggers()
A
47 7 37
deleteAutomation()
S
48 6 34
getAutomationIdsBySubject()
S
51 4 26
getAutomation()
S
56 4 18
truncate()
S
58 4 17
updateAutomation()
S
60 4 12
getAutomationWithDifferentVersions()
S
53 3 22
getAutomations()
S
54 3 20
getAutomationVersionDates()
S
55 2 20
insertAutomationVersion()
S
60 2 13
createAutomation()
S
61 2 12
getCountOfActiveByTriggerKeysAndAction()
S
53 1 23
getActiveAutomationsByTriggerKey()
S
55 1 21
getNameColumnLength()
S
70 2 6
getActiveTriggerKeys()
S
61 1 13
getActiveAutomationsByTrigger()
S
80 1 3
getAutomationHeaderData()
S
73 1 5
getAutomationCount()
S
75 1 4
__construct()
S
65 1 9